<?php get_header(); ?>

<section id="blog-posts">
    <div class="container_24 back">
        <div class="sobra"></div>
         <?php if ( have_posts() ) : ?>
            <?php while ( have_posts() ) : the_post(); ?>

            <div class="grid_22 push_2 listagem-de-post" id="post-<?php the_ID(); ?>">
                <time class="grid_22 alpha"><?php echo get_the_date() ?></time>
                <h2 class="grid_22 alpha"><a href="<?php the_permalink(); ?>" title="Link para <?php the_title(); ?>"><?php the_title();?></a></h2>
                <div class="grid_21  conteudo"><?php the_content(); ?></div>
                <a class="grid_2 push_17" id="button-coment" href="<?php the_permalink(); ?>" title="Comente sobre <?php the_title(); ?>">Comentar</a>
                <span class="grid_5  alpha pull_2" id="autor">Postado por <?=get_the_author(); ?>.</span>
                <div class="grid_5 push_8 alpha redes-sociais">
                    <div class="bt-share grid_3 alpha"><fb:share-button type="button_count" href="<?php the_permalink() ?>"></fb:share-button></div>
                    <div class="bt-curtir grid_3"><iframe src="http://www.facebook.com/plugins/like.php?app_id=115983941821003&amp;href=<?php the_permalink(); ?>&amp;send=false&amp;layout=button_count&amp;width=56&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=65&locale=pt_BR" lang="pt" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:56px; height:65px;" allowTransparency="true"></iframe></div>
                </div>
            </div>

            <?php endwhile; ?>

        <?php endif; ?>
        <script type="text/javascript">
            window.___gcfg = {lang: 'pt-BR'};

            (function() {
                var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
                po.src = 'https://apis.google.com/js/plusone.js';
                var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
            })();
        </script>
        <script type="text/javascript" src="http://connect.facebook.net/pt_BR/all.js#xfbml=1&appId=219315778152182" ></script>
        <script type="text/javascript" src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" ></script>
    </div>
</section>

<?php get_footer(); ?>
